
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Managing workspaces</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp10.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp12.htm" >Next</A>
<!-- End Header -->
<A NAME="BABIJHJG"></A><h1>Managing workspaces</h1>
<A NAME="CHDCCJFG"></A><h2>Adding an existing target to a workspace</h2>
<A NAME="TI290"></A><p>Although you can have only one workspace open at a time, you
can add as many targets to the workspace as you want and open and
edit objects in multiple targets. </p>
<p><img src="images/note.gif" width=17 height=17 border=0 align="bottom" alt="Note"> <span class=shaded>Working with targets that share PBLs</span> <A NAME="TI291"></A>If a target shares PBLs with another target in the same workspace,
as is the case when you create a .NET target based on an existing
application target, you should work on only one target at a time.
Objects are always opened in the context of a specific target. When
you open an object in a <ACRONYM title = "pibble" >PBL</ACRONYM> that
is used in multiple targets, PowerBuilder needs to set global properties
for the specific target you are working on.</p>
<A NAME="TI292"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To add an existing target to a workspace:</p>
<ol><li class=fi><p>Right-click on the workspace displayed
in the System Tree and select Add Target from the pop-up menu.</p><p>The Add Target to Workspace dialog box displays.</p></li>
<li class=ds><p>Navigate to the directory containing the target
you want to add and select the target (.<i>pbt</i>)
file. </p></li>
<li class=ds><p>Click Open. </p><p>The target is added to your current workspace. </p></li></ol>
<br><A NAME="TI293"></A><h2>Removing a target from a workspace</h2>
<A NAME="TI294"></A><p>When you remove a target from the workspace, the .<i>pbt</i> file
is not deleted.</p>
<A NAME="TI295"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To remove a target from a workspace:</p>
<ol><li class=fi><p>Right-click on the target displayed in
the System Tree and select Remove Target from the pop-up menu.</p></li></ol>
<br><A NAME="X-REF342889305"></A><h2>Specifying workspace properties</h2>
<A NAME="TI296"></A><p>You specify workspace properties in the Properties of Workspace
dialog box. </p>
<A NAME="TI297"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To specify workspace properties:</p>
<ol><li class=fi><p>In the Workspace tab of the System Tree,
select Properties from the pop-up menu for the workspace. </p></li>
<li class=ds><p>Select the Targets, Deploy Preview, or Source
Control tab page.</p></li>
<li class=ds><p>Specify the properties as described in the following
sections. </p></li></ol>
<br><p><b>Specifying target order</b>   You can specify the targets and the order in which those targets
are built or deployed on the Targets tab page. All the targets identified
with the workspace are listed. Check the targets you want to include in
the workspace build or deploy. Use the arrows to change a target's
position in the target order list. </p>
<p><b>Previewing deployment</b>   You can verify the targets and the order in which those targets' projects
are built or deployed on the Deploy Preview tab page. To make changes,
you need to use the Targets page of the Workspace dialog box.</p>
<p><b>Specifying source control
properties</b>   You can specify which source control system, if any, is used
for this workspace, as well as other source control properties.
For more information, see <A HREF="pbugp24.htm#BABBEACC">Chapter 3, "Using Source Control."</A></p>

